<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
   <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>


<html>
<head>

<script type="text/javascript">
var image1=new Image()
image1.src="${initParam.root }/image/aboutus.jpg";
var image2=new Image()
image2.src="${initParam.root }/image/testinfo.jpg";
var image3=new Image()
image3.src="${initParam.root }/image/movie.JPG";
</script>
</head>

<a href="javascript:slidelink()">
<img src="${initParam.root }/image/aboutus.jpg" name="slide" border="0" width="400" height="220" /></a>
<script type="text/javascript">
var step=1;
var whichimage=1;
function slideit(){
if (!document.images)
return
document.images.slide.src=eval("image"+step+".src");
whichimage=step;
if (step<3)
step++;
else
step=1;
setTimeout("slideit()",1800);
}
slideit();
function slidelink(){
if (whichimage==1)
window.location="";
else if (whichimage==2)
window.location="view.do?head=testInfo&type=reply&category=community";
else if (whichimage==3)
window.location="view.do?head=video&type=reply&category=learning";
}
</script>
<body>


</body>
</html>
